
.food {
    width: 18%;
    height: 150px;
    text-align: center;
    line-height: 100px;
    margin: 5px 0;
    a {
        position: relative;
        width: 100%;
        height: 100%;
        display: block;
        overflow: hidden;
        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 0.5s;
            border-radius: 8px;
            }
        div {
            position: absolute;
            left: 0;
            bottom: -20%;
            width: 100%;
            height: 40%;
            text-align: center;
            line-height: 30px;
            font-size: 16px;
            color: #fff;
            background-color: rgba(0, 0, 0, 0.6);
            transition: all 0.5s;
        }
        
    }
    a:hover img{
        transform: scale(1.1);
    }
    a:hover div {
        transform: translateY(-50%);
    }
    }

